package com.mszlu.news.admin.service;

import com.mszlu.news.admin.model.params.UserParam;
import com.mszlu.news.admin.vo.Result;

public interface SysUserService {
    /**
     * 通过条件查询用户
     * @param userParam
     * @return
     */
    Result selectUser(UserParam userParam);

    /**
     * 增加用户
     * @param userParam
     * @return
     */
    Result insertUser(UserParam userParam);

    Result updateUser(UserParam userParam);

    Result deleteUserById(Long userId);

    Result UserSexCounts();
}
